package com.ndp.fb.constant;

/**
 * 常量类
 *
 * @author rock
 */
public class CommonConstants {

    public static final String PRE_FAIL="preFail",PUBLISH_FAIL="publishFail";

    public static final String ADMARKETTARGET_ID = "adMarketTargetId";
    public static final String ECMARKETTARGETACTIONRECORD_ID = "ec_markettarget_action_record_id";
    public static final String ECADACTIONRECORD_ID = "ec_ad_action_record_id";
    public static final String STRATEGYRULESPECIFIC_ID = "strategy_rule_specific_id";

    public static final String WE_FEED_ID = "weFeed_id";
    public static final String USERAUDIENCE_ID = "user_audience_id";
    public static final String PRODUCT_SET_ID = "productSet_id";
    public static final String MATERIE_ID = "materie_id";
    public static final String MATERIE_DETAIL = "materie_detail";


    public static String MATERIEL_PROCESS_KEY = "_materiel_process_key";
    public static String MATERIEL_NEW_FEEDS_KEY = "_materiel_new_feeds_key";
    public static int MATERIEL_PROCESS_COUNT = 1000;


    /**
     * 创意创建完成与否
     */
    public static final Integer ADCREATIVE_PUBLISHING = 0,ADCREATIVE_PUBLISHED = 1;

    /**
     * 常量 true
     */
    public static final String TRUE="true";

    /**
     *常量 false
     */
    public static final String FALSE="false";


    /**
     * campaign下默认广告数
     */
    public static final int CAMPAIGN_AD_NUMBER = 3;

    /**
     * campaign状态暂停
     */
    public static final int CAMPAIGN_STATUS_PAUSED = 2;

    /**
     * campaign状态激活
     */
    public static final int CAMPAIGN_STATUS_ACTIVE = 1;

    /**
     * 调用创建接口默认失败次数
     */
    public static final int PUBLISH_FAIL_COUNT = 10;

    /**
     * 默认页面显示条数：10
     */
    public static final int DEFAULT_PAGE_SIZE = 10;

    /**
     * 默认页面显示条数：100
     */
    public static final int DEFAULT_PAGE_SIZE_100 = 100;

    /**
     * 默认页面显示条数：5
     */
    public static final int DEFAULT_PAGE_SIZE_5 = 5;

    /**
     * 创建类似受众默认最低值
     */
    public static final int CREATE_LOOKLIKE_CUSTOMAUDIENCE_COUNT = 100;

    /**
     * 创建自定义受众默认最大值
     */
    public static final int CREATE_CUSTOMAUDIENCE_MAX_COUNT = 10000;

    /**
     * 导入用户文件支持的后缀
     */
    public static final String SOURCE_USER_FILE_TYPE = "txt";

    /**
     * TMP_GROUPID_PREFIX
     */
    public static final String TMP_GROUPID_PREFIX = "10000";

    /**
     * 默认账号ID
     */
    public static final long DEFAULT_ACCOUNT_ID = 1380465202175573L;

    /**
     * FB默认最大日预算
     */
    public static final int FB_MAX_BUDGET = 100 * 10000 * 100;

    // ===================年龄常量=================================
    /**
     * 最小年龄13
     */
    public static final int AGE_MIN = 13;

    /**
     * 最大年龄65
     */
    public static final int AGE_MAX = 65;

    /**
     * NO_MAX
     */
    public static final String NO_MAX = "No max";
    // end ===================年龄常量=================================

    //========================= 数字 ==============================
    /**
     * 数字-1
     */
    public static final int NEGTIVE_INT_1 = -1;

    /**
     * 数字-8
     */
    public static final int NEGTIVE_INT_8 = -8;

    /**
     * 数字-16
     */
    public static final int NEGTIVE_INT_16 = -16;

    /**
     * 数字1
     */
    public static final int NUM_INT_1 = 1;

    /**
     * 数字2
     */
    public static final int NUM_INT_2 = 2;

    /**
     * 数字3
     */
    public static final int NUM_INT_3 = 3;

    /**
     * 数字4
     */
    public static final int NUM_INT_4 = 4;

    /**
     * 数字5
     */
    public static final int NUM_INT_5 = 5;

    /**
     * 数字6
     */
    public static final int NUM_INT_6 = 6;

    /**
     * 数字7
     */
    public static final int NUM_INT_7 = 7;

    /**
     * 数字8
     */
    public static final int NUM_INT_8 = 8;

    /**
     * 数字9
     */
    public static final int NUM_INT_9 = 9;

    /**
     * 数字10
     */
    public static final int NUM_INT_10 = 10;

    /**
     * 数字16
     */
    public static final int NUM_INT_16 = 16;

    /**
     * 数字30
     */
    public static final int NUM_INT_30 = 30;

    /**
     * 数字50
     */
    public static final int NUM_INT_50 = 50;

    /**
     * 数字65
     */
    public static final int NUM_INT_65 = 65;

    /**
     * 数字100
     */
    public static final int NUM_INT_100 = 100;

    /**
     * 数字200
     */
    public static final int NUM_INT_200 = 200;

    /**
     * 数字250
     */
    public static final int NUM_INT_250 = 250;

    /**
     * 数字300
     */
    public static final int NUM_INT_300 = 300;

    /**
     * 数字314
     */
    public static final int NUM_INT_314 = 314;

    /**
     * 数字400
     */
    public static final int NUM_INT_400 = 400;
    public static final int NUM_INT_458 = 458;

    /**
     * 数字500
     */
    public static final int NUM_INT_500 = 500;

    /**
     * 数字600
     */
    public static final int NUM_INT_600 = 600;

    /**
     * 数字627
     */
    public static final int NUM_INT_627 = 627;

    /**
     * 数字628
     */
    public static final int NUM_INT_628 = 628;

    /**
     * 数字1000
     */
    public static final int NUM_INT_1000 = 1000;

    /**
     * 数字1024
     */
    public static final int NUM_INT_1024 = 1024;

    /**
     * 数字1200
     */
    public static final int NUM_INT_1200 = 1200;

    /**
     * 数字4000
     */
    public static final int NUM_INT_4000 = 4000;

    /**
     * 数字5000
     */
    public static final int NUM_INT_5000 = 5000;

    /**
     * 数字10000
     */
    public static final int NUM_INT_10000 = 10000;

    /**
     * 数字100000
     */
    public static final int NUM_INT_100000 = 100000;

    /**
     * 数字1000000
     */
    public static final int NUM_INT_1000000 = 1000000;

    /**
     * 0xf0
     */
    public static final int NUM_INT_0XF0 = 0xf0;

    /**
     * 0xf
     */
    public static final int NUM_INT_0XF = 0xf;

    /**
     * 0xff
     */
    public static final int NUM_INT_0XFF = 0xff;

    /**
     * 0x100
     */
    public static final int NUM_INT_0X100 = 0x100;

    /**
     * http状态码200
     */
    public static final int STATUS_CODE_200 = 200;

    /**
     * 数字100
     */
    public static final double NUM_DOUBLE_100 = 100D;

    /**
     * 数字100
     */
    public static final double NUM_DOUBLE_1000 = 1000D;

    /**
     * HOUR_8
     */
    public static final int HOUR_8 = 8;

    /**
     * EXPIRE_30DAY
     */
    public static final Long EXPIRE_30DAY = 30 * 24 * 3600 * 1000l;

    /**
     * EXPIRE_1YEAR
     */
    public static final Long EXPIRE_1YEAR = 365 * 24 * 3600 * 1000l;
    //end ========================= 数字 ==============================

    //============================= 初始化信息常量 ================================
    /**
     * appId
     */
    public static final String INIT_APPID = "appId";
    /**
     * appSecret
     */
    public static final String INIT_APPSECRET = "appSecret";

    /**
     * locale
     */
    public static final String INIT_LOCALE = "locale";

    /**
     * uploadFilePath
     */
    public static final String INIT_UPLOADFILEPATH = "uploadFilePath";

    //end ============================= 初始化信息常量 ================================

    //================================== 正则表达式 ===================================
    /**
     * REGULAR_PAGING_OFFSET
     */
    public static final String REGULAR_PAGING_OFFSET = "offset=(\\d+)";

    /**
     * REGULAR_PAGING_LIMIT
     */
    public static final String REGULAR_PAGING_LIMIT = "limit=(\\d+)";
    //end ================================== 正则表达式 ===================================

    //======================================= 符号 ====================================
    /**
     * '
     */
    public static final String SYMBOL_QUOTATION = "'";

    /**
     * \
     */
    public static final String SYMBOL_DOUBLE_QUOTATION = "\"";

    /**
     * :
     */
    public static final String SYMBOL_COLON = ":";

    /**
     * '/'
     */
    public static final String SYMBOL_SLASH = "/";

    /**
     * '_'
     */
    public static final String SYMBOL_UNDERLINE = "_";

    /**
     * '-'
     */
    public static final String SYMBOL_LINE = "-";

    /**
     * ','
     */
    public static final String SYMBOL_COMMA = ",";

    /**
     * '，'
     */
    public static final String SYMBOL_COMMA_CHINA = "，";

    /**
     * '}'
     */
    public static final String JSON_END_SYMBOL = "}";

    /**
     * '|'
     */
    public static final String WORD_SEPARETOR = "|";

    /**
     * %
     */
    public static final String SYMBOL_PERCENT = "%";

    /**
     * .
     */
    public static final String SYMBOL_POINT = "\\.";

    /**
     * +
     */
    public static final String SYMBOL_PLUS = "+";
    //end ======================================= 符号 ====================================

    // ================================ 方法前缀 ===========================================
    /**
     * is
     */
    public static final String METHOD_PREFIX_IS = "is";

    /**
     * get
     */
    public static final String METHOD_PREFIX_GET = "get";

    /**
     * set
     */
    public static final String METHOD_PREFIX_SET = "set";

    public static final String HTTP_PROTOCOL="http";

    //end ================================ 方法前缀 ===========================================

    //=============================== 常用字符串 ==========================================
    /**
     * paging
     */
    public static final String PAGING = "paging";

    /**
     * next
     */
    public static final String NEXT = "next";

    /**
     * previous
     */
    public static final String PREVIOUS = "previous";

    /**
     * offset
     */
    public static final String OFFSET = "offset";

    /**
     * limit
     */
    public static final String LIMIT = "limit";

    /**
     * fields
     */
    public static final String FIELDS = "fields";

    /**
     * data
     */
    public static final String DATA = "data";

    /**
     * message
     */
    public static final String MESSAGE = "message";

    /**
     * accountId
     */
    public static final String ACCOUNTID = "accountId";

    /**
     * accessToken
     */
    public static final String ACCESSTOKEN = "accessToken";

    /**
     * unknown
     */
    public static final String UNKNOWN = "unknown";


    /**
     * file:
     */
    public static final String REPLACE_FILE = "file:";

    /**
     * hash_type
     */
    public static final String HASH_TYPE = "hash_type";

    /**
     * sha256
     */
    public static final String HASH_TYPE_SHA256 = "sha256";

    /**
     * type
     */
    public static final String TYPE = "type";


    /**
     * adcountry
     */
    public static final String TYPE_AD_COUNNTRY = "adcountry";

    /**
     * adlocale
     */
    public static final String TYPE_AD_LOCALE = "adlocale";

    /**
     * zh_CN
     */
    public static final String LOCALE_ZH_CN = "zh_CN";

    public static final String USD = "USD";

    /**
     * id
     */
    public static final String ID = "id";

    /**
     * name
     */
    public static final String NAME = "name";

    /**
     * email
     */
    public static final String EMAIL = "email";

    /**
     * /search
     */
    public static final String SEARCH_URL = "/search";

    /**
     * q
     */
    public static final String PARAMETER_Q = "q";

    /**
     * utf-8
     */
    public static final String UTF_8 = "utf-8";

    /**
     * result
     */
    public static final String RESULT = "result";

    /**
     * results
     */
    public static final String RESULTS = "results";

    /**
     * adimages
     */
    public static final String AD_IMAGE = "adimages";

    /**
     * adgroup
     */
    public static final String AD_GROUP = "adGroup";

    /**
     * adCreative
     */
    public static final String AD_CREATIVE = "adCreative";

    /**
     * adCampaign
     */
    public static final String AD_CAMPAIGN = "adCampaign";

    /**
     * adCampaign
     */
    public static final String AD_SET = "adSet";

    /**
     * success
     */
    public static final String SUCCESS = "success";

    /**
     * FAIL
     */
    public static final String FAIL = "fail";

    /**
     * 时间后缀毫秒ms
     */
    public static final String TIME_MS = "ms";

    /**
     * count
     */
    public static final String COUNT = "count";

    /**
     * 账号前缀
     */
    public static final String ACCOUNT_PREFIX = "act_";
    //======================================广告创建所需常量============================
    /**
     * campaignId
     */
    public static final String CAMPAIGN_ID = "campaignId";

    /**
     * adCampaignName
     */
    public static final String CAMPAIGN_NAME = "adCampaignName";

    /**
     * daily_budget
     */
    public static final String DAILY_BUDGET = "daily_budget";

    /**
     * lifetime_budget
     */
    public static final String LIFE_TIME_BUDGET = "lifetime_budget";

    /**
     * start_time
     */
    public static final String START_TIME = "start_time";

    /**
     * end_time
     */
    public static final String END_TIME = "end_time";
    //======================== end 广告创建所需常量  ==============================================

    //======================== start ERROR CODE ==============================================
    public static final Long DELETED_CODE = 1487056L;
    //======================== end ERROR CODE ==============================================

    //======================================Java执行的Shell命令开始============================
    /**
     * 将生成的报告Excel文件从定时调度机器转移到业务所在机器的命令
     */
    public static final String SHELL_TRANSFER_REPORT = "/var/shell/rsync_report.sh";


    //======================================Java执行的Shell命令结束============================

    //end=============================== 常用字符串 ==========================================

    @Deprecated
    public static final Integer ACCOUNT_IMAGE_UPLOAD_STATUS_UNUPLOAD = 0;
    @Deprecated
    public static final Integer ACCOUNT_IMAGE_UPLOAD_STATUS_SUCEESS = 1;
    @Deprecated
    public static final Integer ACCOUNT_IMAGE_UPLOAD_STATUS_FAIL = -1;

    @Deprecated
    public static final Integer ACCOUNT_IMAGE_IS_NEED_UPLOAD_YES = 0;
    @Deprecated
    public static final Integer ACCOUNT_IMAGE_IS_NEED_UPLOAD_NO = 1;

    public static final Integer ACCOUNT_RESOURCE_NEED_UPLOAD_YES = 0;
    public static final Integer ACCOUNT_RESOURCE_NEED_UPLOAD_NO = 1;

    /**
     * 图片上传标志位超时时间 5
     */
    public static final Integer ACCOUNT_IMAGE_UPLOAD_REDIS_FLAG_TIME_OUT = 5;

    /**
     * 同步状态
     */
    public static final String BUSINESS_MANAGER_SYNCINFORMATION_FLAG = "BUSINESS_MANAGER_SYNCINFORMATION_FLAG";
    /**
     * 添加fbuser账号标识
     */
    public static final String FB_USER_ADD_FLAG = "FB_USER_ADD_FLAG";
    /**
     * 添加fbuser账号标识
     */
    public static final String USER_ADD_FLAG = "USER_ADD_FLAG";

    /**
     * 广告帐号 ACCESS_STATUS: CONFIRMED
     */
    public static final String ENTRUST_ACCOUNT_ACCESS_STATUS_CONFIRMED = "CONFIRMED";


    /**
     * CONNECTION_OBJECT 1:删除
     */
    public static final Integer CONNECTION_OBJECT_IS_DELETE_YES = 1;
    /**
     * CONNECTION_OBJECT 0:可用
     */
    public static final Integer CONNECTION_OBJECT_IS_DELETE_NO = 0;

    /**
     * Agrouphelper增加debug模式
     */
    public static final String ADGROUPHELPER_DEBUG = "debug";

    /**
     * 时间格式化
     */
    public static final String DATE_FORMAT_YYYYMMDDHHMM = "yyyy-MM-dd HH:mm";
    public static final String DATE_FORMAT_YYYYMMDDHHMMSS = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT_YYYYMMDDHHMMSSSSS = "yyyy-MM-dd HH:mm:ss.SSS";
    public static final String DATE_FORMAT_YYYYMMDD = "yyyy-MM-dd";
    /**
     * 1暂停广告
     */
    public static final Integer CONTROLLER_RULE_ACTION_TYPE_STOP_AD = 1;
    /**
     * 2.调整预算
     */
    public static final Integer CONNECTION_OBJECT_IS_DELETE_ADJUST_BUDGET_ = 2;

    //自动控制controller_condition表中id和业务对应关系
    @Deprecated //使用
    public static final Long CONTROLLER_CONDITION_CLICKS = 1L; //点击
    public static final Long CONTROLLER_CONDITION_IMPRESSIONS = 2L; //展示
    public static final Long CONTROLLER_CONDITION_UNIQUEIMPRESSIONS = 3L; // 到达人数
    public static final Long CONTROLLER_CONDITION_SPENT = 4L;  //总花费
    public static final Long CONTROLLER_CONDITION_CLICKREADRATE = 5L;  //点阅率
    public static final Long CONTROLLER_CONDITION_MOBILEAPPINSTALL = 6L;  //结果数
    public static final Long CONTROLLER_CONDITION_COST = 7L;  //结果数
    public static final Long CONTROLLER_CONDITION_INSTALLCLICKSRATE = 8L;  //转换率
    public static final int CONTROLLER_STATUS_CLOSE = 0;
    public static final int CONTROLLER_STATUS_OPEN = 1;
    public static final int CONTROLLER_STATUS_DELETE = 2;
    public static final int CONTROLLER_STATUS_ARCHIVE = 3;
    ///自动控制 optimizing_log  ACTION_TYPE action_type 动作类型 0关闭，1关闭并重新检查 2系统改价 3重新激活
    public static final int OPTIMIZING_LOG_ACTION_TYPE_PAUSE = 0;
    public static final int OPTIMIZING_LOG_ACTION_TYPE_PAUSE_CHECK = 1;
    public static final int OPTIMIZING_LOG_ACTION_TYPE_CHANGE_PRICE = 2;
    public static final int OPTIMIZING_LOG_ACTION_TYPE_RETIVE = 3;
    //自动控制 controller_pause_action is_check 0 不检查 1 检查
    public static final int CONTROLLER_PAUSE_ACTION_CHECK = 1;
    public static final int CONTROLLER_PAUSE_ACTION_NO_CHECK = 0;

    public static final String SELECT = " select ";
    public static final String FROM = " from ";
    public static final String WHERE = " where ";


    // 业务数据同步-数据保存key前缀
    public static final String SYNC_BUSINESS_AD_CAMPAIGN_GROUP_FLAG = "sync_business_ad_campaign_group_flag_";
    public static final String SYNC_BUSINESS_AD_GROUP_FLAG = "sync_business_ad_group_flag_";
    public static final String SYNC_BUSINESS_AD_SET_FLAG = "sync_business_ad_set_flag_";
    public static final String SYNC_BUSINESS_AD_CREATIVE_FLAG = "sync_business_ad_creative_flag_";
    public static final String SYNC_BUSINESS_AD_IMAGE_FLAG = "sync_business_ad_IMAGE_flag_";

    //同步视频缩略图
    public static final String SYNC_VIDEO_LITE_IMG_FLAG_ = "sync_video_lite_img_flag_";
    public static final Long SYNC_VIDEO_LITE_IMG_TIME_OUT = 5 * 60 * 1000L;

    // 业务数据同步-数据保存key前缀
    public static final String SYNC_BUSINESS_AD_IMAGE_UPDATEDTIME = "sync_business_ad_image_updatetime_";
    //v2_4接口业务数据同步
    public static final String SYNC_BUSINESS_UPDATEDTIME = "sync_business_updatetime_";
    
    //v2_4接口业务数据同步
    public static final String SYNC_BUSINESS_ACTIVITIES_UPDATEDTIME = "sync_business_activities_updatetime_";
    
    public static final String SYNC_BUSINESS_CAMPAIGB_ACTIVITIES_UPDATEDTIME = "sync_business_campaign_activities_updatetime_";

    //用户角色KEY
    public static final String USER_ROLE_AUTHORITY = "user_role_authority";

    //用户菜单KEY
    public static final String USER_MENU_TREE = "user_menu_tree";


    //vpi country info
    public static final String VPI = "vpi";
    public static final String GLOBAL = "global";



    public static final Integer HTTP_CONNECTION_TIME_OUT = 30 * 1000;
    public static final Integer HTTP_READ_TIME_OUT = 5 * 60 * 1000;

    public static final Integer VIDEO_BLOCK_SIZE = 20 * 1024 * 1024;

    /**
     * 文件大小7
     */
    public static final Long FILE_7_M = 7 * 1024 * 1024L;

    // adgroup_stats_increment 数据刷新时间
    public static final String ADGROUP_STATS_INCREMENT_CRON_REFRESH_DATETIME = "adgroup_stats_increment_cron_refresh_datetime";

    // 设置同步账号下图片分布式锁
    public static final String SYNC_ACCOUNT_IMAGE_LOCK = "sync_account_image_lock";

    // 设置同步账号下视频分布式锁
    public static final String SYNC_ACCOUNT_VIEDO_LOCK = "sync_account_viedo_lock";

    // 保存businessId时的分布式锁
    public static final String BUSINESS_MANAGE_LOCK = "business_manage_lock";

    // 保存productConfiguration时的分布式锁
    public static final String PRODUCT_CONFIGURATION_LOCK = "product_configuration_lock";

    //保存connection时的分布式锁
    public static final String CONNECTION_OBJECT_LOCK = "connection_object_lock";

    //账号应用关系分布式锁
    public static final String ACCOUNT_CONNECTION_OBJECT_LOCK = "account_connection_object_lock";

    //
    public static final String BADAGE_NUM_LOCK = "badage_num_lock";

    //redis中的key，用于存储上一次扫描AdGroup统计数据的时间
    public static final String LAST_ADGROUP_STATISTICS_SCAN_TIME = "lastAdGroupStatisticsScanTime";

    //redis中的key，用于存储上一次扫描AdSet统计数据的时间
    public static final String LAST_ADSET_STATISTICS_SCAN_TIME = "lastAdSetStatisticsScanTime";


    //应用状态更新锁 merge by giser 
    public static final String AD_PUBLISH_CONDITION_UPDATE_STATUS = "ad_publish_condition_update_status_lock";

    //防止更新视频账号锁
    public static final String UPDATE_ACCOUNT_VIDEO_SYNC = "update_account_video_sync_lock";

    //防止保存视频账号重复锁
    public static final String SAVE_ACCOUNT_VIDEO_SYNC = "save_account_video_sync_lock";

    //防止更新账号脏数据锁
    public static final String UPDATE_ACCOUNT_SYNC = "update_account_sync_lock";


    //appinfo对象在redis中的key
    public static final String APPINFO_KEY = "appinfo_key";

    /**
     * 素材类型-图片
     */
    public static final String RESOURCE_TYPE_IMAGE = "IMAGE";
    public static final String RESOURCE_TYPE_CAROUSEL = "CAROUSEL";
    /**
     * 素材类型-视频
     */
    public static final String RESOURCE_TYPE_VIDEO = "VIDEO";

    //是否单点登录
    public static final String IS_SECURE_SSO = "is_secure_sso";

    //消息发送者
    public static final String MESSAGE_SENDER = "message_sender";

    //管理员角色
    public static final Long ROLE_ADMIN = 1L;

    //广告投放角色
    public static final Long ROLE_ADPOSTER = 2L;

    //美宣
    public static final Long ROLE_UIDESIGNER = 3L;

    //owner
    public static final Long ROLE_OWNER = 4L;

    //外部美宣
    public static final Long ROLE_OUTERUIDESIGNER = 6L;

    // 图片来源
    public static final Integer IMG_FROM_OUTUI = 1;

    public static final Integer IMG_FROM_INNERUI = 2;

    // 请求FB拉取数据时，每次拉取的数量
    public static final String FETCH_COUNT_LIMIT = "fetch.count.limit";

    // Insights接口获取JOB状态成功后拉取数据延迟时间
    public static final String INSIGHTS_FETCH_DELAY = "insights.fetch.delay";

    public static final String INSIGHTS_ADGROUP_ASYNC_JOB_PREFIX = "INSIGHTS_ADGROUP_ASYNC_JOB";

    // Facebook InsightsAsyncJob默认保存时间（单位是秒）
    public static final String INSIGHTS_ASYNC_JOB_CACHE_TIME = "insights.async.job.cache.time";

    public static final String AD_RESOURCE_USERID_PREFIX = "ad.resource.userid.prefix";

    public static final String SYNC_CUSTOM_AUDIENCE = "sync.custom.audience";

    //外链产品标记 productType
    public static final String OUTLINK= "outlink";

    /**
     * 受众在redis之间传值   属性常量
     */
    public static final String AUDIENCE_SUBTYPE = "subtype";
    public static final String AUDIENCE_ID = "id";
    public static final String AUDIENCE_NAME = "name";
    public static final String AUDIENCE_COUNTRY = "cnty";
    public static final String AUDIENCE_REDIS_PREFIX = "customaudiences_";


    public static final String MYSQL_DRIVER="com.mysql.jdbc.Driver";
    public static final boolean DRUID_TESTONBORROW=true;
    public static final boolean DRUID_TESTONRETURN=true;
    public static final boolean DRUID_TESTWHILEIDLE=true;
    public static final String DRUID_VALIDATIONQUERY="SELECT 1";
    public static final long DRUID_TIMEBETWEENEVICTIONRUNSMILLIS=1800000;
    public static final long DRUID_MINEVICTABLEIDLETIMEMILLIS=1800000;
    public static final boolean DRUID_POOLPREPAREDSTATEMENTS=true;
    public static final String DRUID_FILTERS="stat";

    /**
     * 公共请求的账号ID
     */
    public static final Long ViIRTUAL_FB_ID = 999999999999999999L;
    
    /**
     * 默认系统用户ID
     */
    public static final Long SYSTEM_USER_ID = 999999999999999999L;

    /**
     * Font上传 取多大的图
     */
    public static final int FONT_PREVIEW_WIDTH = 700;
    public static final int FONT_PREVIEW_HEIGHT = 70;
    public static final String FONT_PREVIEW_STR = "Innovation in china";
    
    /**
     * redis 存储的创建更新key前缀
     */
    public static final String ADMARKETTARGET = "admarkettarget_";

    /**
     * 模板库  上传 解析元素
     */
    public static final String TEMPLATE_STYLE_F = "主要样式 - ";
    public static final String TEMPLATE_STYLE_S = "辅助样式 - ";
    public static final String TEMPLATE_STYLE_F_EN = "Main Style - ";
    public static final String TEMPLATE_STYLE_S_EN = "Auxiliary Style - ";
}
